home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 14 / Hot Mix 14.iso / HTML / vendors / finesse / examples / sh / snack < prev    next >
Text File  |  1996-06-27  |  738b  |  44 lines

  1. #! /bin/sh
  2. # FINESSEAPPLICATIONKEY sEfDTvhe{gjfF
  3.  
  4. . ${FINESSEPATH-/usr/local/finesse}/fsshinit
  5.  
  6. windef="
  7.  FsWindow -btype oxa;
  8.  
  9.  FsLabel  -label 'Your order:';
  10.  
  11.  FsRadio  -items 'Hamburger/German Sausage/Fried Chicken'
  12.           -var order=Hamburger
  13.           -inputsep '/';
  14.           
  15.  FsSeparator;
  16.  
  17.  FsCheck  -items 'French Fries/Salad/Ketchup/Mayo'
  18.           -label With:
  19.           -inputsep '/'
  20.           -outputsep '/'
  21.           -var with
  22.           -nrows 2;
  23.           
  24.   
  25.  FsText   -label 'Number of Portions:' 
  26.           -var num=1
  27.       -texttype int;  
  28.  
  29.  FsSeparator;"
  30.  
  31. Fsopen -o 1 "$@"
  32.  
  33. Fsdisplay -w "$windef"
  34.  
  35. if [ "$fsbutton" != "a" ] ; then
  36. echo Your order:
  37. echo $order
  38. echo with:
  39. echo $with | tr '/' '\012'
  40. sleep 5
  41. fi
  42.  
  43. Fsclose
  44.